.class public Lcom/instagram/android/nux/SignedOutFragmentActivity;
.super Lcom/instagram/android/activity/h;
.source "SignedOutFragmentActivity.java"


# static fields
.field public static s:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 17
    const/4 v0, 0x0

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 15
    invoke-direct {p0}, Lcom/instagram/android/activity/h;-><init>()V

    return-void
.end method

.method public static a(Landroid/app/Activity;)V
    .locals 2
    .parameter

    .prologue
    .line 20
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/instagram/android/nux/SignedOutFragmentActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 21
    const/high16 v1, 0x400

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 22
    invoke-virtual {p0, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 23
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    .line 24
    return-void
.end method


# virtual methods
.method protected j()V
    .locals 3

    .prologue
    .line 28
    invoke-virtual {p0}, Lcom/instagram/android/nux/SignedOutFragmentActivity;->f()Landroid/support/v4/app/r;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->layout_container_main:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    .line 29
    if-nez v0, :cond_0

    .line 30
    invoke-virtual {p0}, Lcom/instagram/android/nux/SignedOutFragmentActivity;->f()Landroid/support/v4/app/r;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/r;->a()Landroid/support/v4/app/af;

    move-result-object v0

    .line 31
    sget v1, Lcom/facebook/aw;->layout_container_main:I

    new-instance v2, Lcom/instagram/android/nux/v;

    invoke-direct {v2}, Lcom/instagram/android/nux/v;-><init>()V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/af;->b(ILandroid/support/v4/app/Fragment;)Landroid/support/v4/app/af;

    .line 32
    invoke-virtual {v0}, Landroid/support/v4/app/af;->a()I

    .line 34
    :cond_0
    return-void
.end method

.method public onBackPressed()V
    .locals 1

    .prologue
    .line 50
    sget-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    if-eqz v0, :cond_0

    .line 54
    :goto_0
    return-void

    .line 53
    :cond_0
    invoke-super {p0}, Lcom/instagram/android/activity/h;->onBackPressed()V

    goto :goto_0
.end method

.method protected onResume()V
    .locals 1

    .prologue
    .line 38
    invoke-super {p0}, Lcom/instagram/android/activity/h;->onResume()V

    .line 42
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/instagram/android/login/b/ah;->Y()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 44
    invoke-virtual {p0}, Lcom/instagram/android/nux/SignedOutFragmentActivity;->finish()V

    .line 46
    :cond_0
    return-void
.end method
